﻿<%@ Page Language="vb" MasterPageFile="~/template/PSP/Master/Default.Master" ValidateRequest="false" AutoEventWireup="false" CodeBehind="Article.aspx.vb" Inherits="MeoTom.Web.Blog.Article" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ctph" Runat="Server">
<div class="nav2 clearfix" id="nav2" runat="server"></div>
<div class="content-post fl">
    <div id="DivArticlePassword" runat="server" visible="false" style="margin-top:15px;margin-bottom:10px;">
        <div style="color:#FF0000;font-weight:bold;margin-left:20px;" id="txtResponse"></div>
        <fieldset style="margin: 0pt auto; padding: 0px; width: 350px;">
            <legend style="font-family: Arial; font-size: 13px; margin-left: 5px; margin-bottom: 3px;font-weight:bold;">Bài viết đã được bảo vệ bằng mật khẩu:</legend>
            <div style="text-align:center;padding:10px;">Xin vui lòng nhập mật khẩu:<br />            
                <input type="password" name="txtPassword" id="txtPassword" style="width:200px;" />
                <input type="button" name="btnCheckPass" id="btnCheckPass" value="Gửi đi" onclick="javascript:Util.checkArticlePass();" />
                <input type="hidden" name="txtUrl" id="txtUrl" value="<%=Request.QueryString("sPath")%>" />
                <input type="hidden" name="txtArticleID" id="txtArticleID" value="<%=Request.QueryString("ArticleID")%>" /><br /><br />
            </div>
        </fieldset>
    </div>
    <div id="ArticleContent" runat="server" class="ArticleContent">
        <h2>
            <asp:HyperLink ID="lnkTitle" runat="server"></asp:HyperLink></h2>
        <p id="ArticleVote" visible="false" runat="server"></p>
        <p>
            <asp:Literal ID="ltrAbstract" runat="server"></asp:Literal></p>
        <div id="sociable"></div>
    </div>
    <div id="CommentContent" runat="server" class="CommentContent"></div>
</div>

<div class="commentform clearfix" id="CommentForm" runat="server" >
    <form id="form1" name="form1" action="/Services/ValidateComment.ashx" method="post" onsubmit="javascript:return Util.submitComment(this);return false;">
        <h3><a href="#PostComment" name="PostComment" id="PostComment" title="Write Comment">Write Comment</a></h3>
        <div class="hr fl">&nbsp;</div>
        <div style="width:570px;float:left;padding-left:15px;padding-right:15px;">
            <table cellpadding="0" cellspacing="0" width="99%">
                <tr>
                    <td><input type="text" tabindex="1" id="txtFullName" value="Full Name" name="txtFullName" onblur="javascript:ChangeStatus(this,0,'Full Name');" onfocus="javascript:ChangeStatus(this,1,'Full Name');" style="width:250px;" /></td>
                    <td colspan="3"><input type="text" tabindex="2" value="Email" id="txtEmail" name="txtEmail" onblur="javascript:ChangeStatus(this,0,'Email');" onfocus="javascript:ChangeStatus(this,1,'Email');" style="width:250px;" /></td>
                </tr>
                <tr>
                    <td><input type="text" tabindex="3" id="txtYourUrl" name="txtYourUrl" value="http://" onblur="javascript:ChangeStatus(this,0,'Website (http://)');" onfocus="javascript:ChangeStatus(this,1,'Website (http://)');" style="width:250px;" /></td>
                    <td style="text-align:right;width:100px;"><input tabindex="4" type="text" id="txtCode" name="txtCode" onblur="javascript:ChangeStatus(this,0,'Image Verify');" onfocus="javascript:ChangeStatus(this,1,'Image Verify');" style="width:120px;" value="Image Verify" /></td>
                    <td style="text-align:right;width:105px;vertical-align:middle;"><img src="/Services/CapchaImage.ashx" alt="Image Verify" style="border:0px;margin-top:4px;" id="imgValidCode" /></td>
                    <td style="text-align:right;width:25px;padding-top:5px;vertical-align:middle;"><img src="/images/change-image.gif" width="24" height="20" alt="Đổi hình khác" style="cursor:pointer;" onclick="javascript:ChangeImage();" /></td>
                </tr>
                <tr>
                    <td colspan="4" style="padding-top:5px;">
                        <table cellpadding="0" cellspacing="0" border="0" width="100%">
                            <tr>
                                <td valign="top"><textarea id="txtBody" name="txtBody" tabindex="5" rows="10"></textarea><br /><input type="submit" tabindex="5" id="btnSubmit" name="btnSubmit" value="Submit Comment" />&nbsp;&nbsp;<i><a href="/Resource/BBCode.htm" rel="facebox">* BBCode supported</a></i></td>
                                <td style="width:25%;vertical-align:top;">
                                    <fieldset>
                                        <legend>Emoticons</legend>
                                        <div id="divEmoticons"></div>
                                    </fieldset>                                
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table><br />
        </div>
        <input type="hidden" id="txtId" name="txtId" value="<%=sArticleID%>" />
        <input type="hidden" id="txtTypeComment" name="txtTypeComment" value="0" />            
        <input type="hidden" id="txtArticleURL" name="txtArticleURL" value="<%=MeoTom.Core.Configs.HomeUrl%><%=PageUrl%>" />
        <input type="hidden" id="txtTitle" name="txtTitle" value="<%=PageTitle.Replace(" ", "+")%>" />
    </form>
</div> 
</asp:Content>